ADP\BaseVersion\Includes\Core\RuleProcessor\CartTotals A

Total Complexity 71
Dependencies 7
Dependents 4
Total lines 381
Lines of code 249
Logical lines of code 163
Comment lines 53
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
calculateItemsSubtotalsWithoutImmutable()
B
38 21 66
calculateItemsSubtotals()
B
38 20 63
calculateTotalDiscounts()
A
42 8 53
sortCouponsCallback()
S
61 7 12
getCouponsFromCart()
S
54 5 22
getItemTaxRates()
S
63 3 11
roundLineTax()
S
69 3 6
__construct()
S
70 1 7
roundAtSubtotal()
S
79 1 3
getSubtotal()
S
80 1 3
getSubtotalWithoutImmutable()
S
80 1 3